package com.zs.grain.di.modules

import com.zs.grain.ui.*

import dagger.Module
import dagger.android.ContributesAndroidInjector

/**
 * Created by Wesley on 2017/7/6.
 */

@Module
abstract class AndroidModule {

    @ContributesAndroidInjector
    internal abstract fun mainActivityInjector(): MainActivity

    @ContributesAndroidInjector
    internal abstract fun adsFragmentInjector(): AdsFragment

    @ContributesAndroidInjector
    internal abstract fun menusFragmentInjector(): MenusFragment

    @ContributesAndroidInjector
    internal abstract fun deployFragmentInjector(): DeployFragment

    @ContributesAndroidInjector
    internal abstract fun scanQrFragmentInjector(): ScanQrFragment

    @ContributesAndroidInjector
    internal abstract fun waitingFragmentInjector(): WaitingFragment

    @ContributesAndroidInjector
    internal abstract fun finishFragmentInjector(): FinishFragment

    @ContributesAndroidInjector
    internal abstract fun maintenanceActivityInjector(): MaintenanceActivity

    @ContributesAndroidInjector
    internal abstract fun dailyFragmentInjector(): DailyFragment

    @ContributesAndroidInjector
    internal abstract fun settingFragmentInjector(): SettingFragment

    @ContributesAndroidInjector
    internal abstract fun testFragmentInjector(): TestFragment

    @ContributesAndroidInjector
    internal abstract fun receipeFragmentInjector(): ReceipeFragment

    @ContributesAndroidInjector
    internal abstract fun adjustDialogInjector(): AdjustDialog

    @ContributesAndroidInjector
    internal abstract fun durationDialogInjector(): DurationDialog

    @ContributesAndroidInjector
    internal abstract fun advertisementFragmentInjector(): AdvertisementFragment

    @ContributesAndroidInjector
    internal abstract fun tempFragmentInjector(): TempFragment
}
